<?php
/**
 * Created by JetBrains PhpStorm.
 * User: Victor
 * Date: 07.12.11
 * Time: 0:05
 * To change this template use File | Settings | File Templates.
 */
 
class Core_BaseModel {
     /**
     * @var DataModule
     */
    protected  $dataModule;

    public function __construct(){
       $dm = DataModule::getInstance();
       $this->dataModule = $dm;
    }
    public function setDataModule(DataModule $dataModule)
    {
        $this->dataModule = $dataModule;

    }
    protected function vardump($e){
        echo "<pre>".var_dump($e)."<br/></pre>";
    }

}
